package com.example.glgk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.glgk.dto.supportFile.SupportMaterialFileDto;
import com.example.glgk.entity.SupportMaterialFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lxk
 */
@Mapper
public interface SupportFileMapper extends BaseMapper<SupportMaterialFile> {


    List<SupportMaterialFileDto> searchSupportFile(@Param("dept")String dept, @Param("taskId")String taskId);

    List<Map<String, String>> queryAdditionalFile(@Param("dept")String dept, @Param("taskId")String taskId,@Param("indexId")String indexId);

    void deleteAdditionalFile(@Param("fileId")String fileId);
}
